<template>
	<image :style="{width: `${size}rpx`,height: `${size}rpx`}" :src="`/static/icon/icon_${icon}.png`" :class="className"/>
</template>

<script>
export default { name: "EIcon" }
</script>

<script setup>
import {} from "vue"
const props = defineProps({
	icon: {
		type: String,
		required: true
	},
	size: {
		type: String,
		default: "32"
	},
	className: {
		type: String,
		default: ""
	},
})
</script>

<style scoped lang="scss">

</style>
